import { createStore } from 'vuex'
import menu from './menu'
// 引入持久化插件
import createPersistedstate from 'vuex-persistedstate'


export default createStore({
  plugins: [new createPersistedstate({
    key: 'pz-v3pzxxx',
  })],
  modules: {
    menu
  }
})